<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/head.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>${sessionScope.APP_NAME},欢迎您,${sessionScope.user.username}</title>

<meta name="description" content="overview &amp; stats" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="${ctx}/resources/assets/css/bootstrap.css" />
<link rel="stylesheet"
	href="${ctx}/resources/assets/css/font-awesome.css" />

<!-- page specific plugin styles -->

<!-- text fonts -->
<link rel="stylesheet" href="${ctx}/resources/assets/css/ace-fonts.css" />

<!-- ace styles -->
<link rel="stylesheet" href="${ctx}/resources/assets/css/ace.css"
	class="ace-main-stylesheet" id="main-ace-style" />

<!--[if lte IE 9]>
			<link rel="stylesheet" href="${ctx}/resources/assets/css/ace-part2.css" class="ace-main-stylesheet" />
		<![endif]-->

<!--[if lte IE 9]>
		  <link rel="stylesheet" href="${ctx}/resources/assets/css/ace-ie.css" />
		<![endif]-->

<!-- inline styles related to this page -->

<!-- ace settings handler -->
<script src="${ctx}/resources/assets/js/ace-extra.js"></script>

<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
		<script src="${ctx}/resources/assets/js/html5shiv.js"></script>
		<script src="${ctx}/resources/assets/js/respond.js"></script>
		<![endif]-->
<!--[if !IE]> -->
<script type="text/javascript">
	window.jQuery
			|| document
					.write("<script src='${ctx}/resources/assets/js/jquery.js'>"
							+ "<"+"/script>");
	var root = '${ctx}';
</script>

<!-- <![endif]-->

<!--[if IE]>
		<script type="text/javascript">
		 	window.jQuery || document.write("<script src='${ctx}/resources/assets/js/jquery1x.js'>"+"<"+"/script>");
		</script>
		<![endif]-->
<script type="text/javascript">
	if ('ontouchstart' in document.documentElement)
		document
				.write("<script src='${ctx}/resources/assets/js/jquery.mobile.custom.js'>"
						+ "<"+"/script>");
</script>
<script src="${ctx}/resources/assets/js/bootstrap.js"></script>

</head>

<body class="no-skin">
	<!-- #section:basics/navbar.layout -->
	<jsp:include page="/WEB-INF/views/common/top.jsp" />
	<!-- /section:basics/navbar.layout -->
	<div class="main-container" id="main-container">
		<script type="text/javascript">
			try {
				ace.settings.check('main-container', 'fixed')
			} catch (e) {
			}
		</script>
		<!-- #section:basics/sidebar -->
		<jsp:include page="/WEB-INF/views/common/nav.jsp" />
		<!-- /section:basics/sidebar -->
		<div class="main-content">
			<div class="main-content-inner">
				<!-- #section:basics/content.breadcrumbs -->
				<jsp:include page="/WEB-INF/views/common/breadcrumbs.jsp" />
				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
					<!-- #section:settings.box -->
					<jsp:include page="/WEB-INF/views/common/setting-box.jsp" />
					<!-- /section:settings.box -->
					<div class="row">
						<div class="col-xs-12">
							<!-- PAGE CONTENT BEGINS -->
							<button id="mc_new" class="btn btn-app btn-warning btn-sm">
								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 销售管理
							</button>
<%--							<button id="consume" class="btn btn-app btn-purple btn-sm">--%>
<%--								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 优惠券入场--%>
<%--							</button>--%>
<%--							<button id="entrance" class="btn btn-app btn-success btn-sm">--%>
<%--								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 期限卡入场--%>
<%--							</button>--%>
<%--							<button id="tuanke" class="btn btn-app btn-success btn-sm">--%>
<%--								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 团课课表--%>
<%--							</button>--%>
<%--							<button id="yuyue" class="btn btn-app btn-success btn-sm">--%>
<%--								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 预约管理--%>
<%--							</button>--%>
<%--							<button id="mc_goods" class="btn btn-app btn-warning btn-sm">--%>
<%--								<i class="ace-icon fa fa-cloud-upload bigger-200"></i> 商品销售--%>
<%--							</button>--%>
							<!-- PAGE CONTENT ENDS -->
						</div>
						<!-- /.col -->
					</div>
					<!-- /.row -->
				</div>
				<!-- /.page-content -->
			</div>
		</div>
		<!-- /.main-content -->

		<jsp:include page="/WEB-INF/views/common/footer.jsp" />
	</div>
	<!-- /.main-container -->

	<!-- basic scripts -->


	<!-- page specific plugin scripts -->

	<!--[if lte IE 8]>
		  <script src="${ctx}/resources/assets/js/excanvas.js"></script>
		<![endif]-->
	<script src="${ctx}/resources/assets/js/jquery-ui.custom.js"></script>
	<script src="${ctx}/resources/assets/js/jquery.ui.touch-punch.js"></script>
	<script src="${ctx}/resources/assets/js/jquery.easypiechart.js"></script>
	<script src="${ctx}/resources/assets/js/jquery.sparkline.js"></script>
	<script src="${ctx}/resources/assets/js/flot/jquery.flot.js"></script>
	<script src="${ctx}/resources/assets/js/flot/jquery.flot.pie.js"></script>
	<script src="${ctx}/resources/assets/js/flot/jquery.flot.resize.js"></script>

	<!-- ace scripts -->
	<script src="${ctx}/resources/assets/js/ace/elements.scroller.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.colorpicker.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.fileinput.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.typeahead.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.wysiwyg.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.spinner.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.treeview.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.wizard.js"></script>
	<script src="${ctx}/resources/assets/js/ace/elements.aside.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.ajax-content.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.touch-drag.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.sidebar.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.sidebar-scroll-1.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.submenu-hover.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.widget-box.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.settings.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.settings-rtl.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.settings-skin.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.widget-on-reload.js"></script>
	<script
		src="${ctx}/resources/assets/js/ace/ace.searchbox-autocomplete.js"></script>

	<!-- inline scripts related to this page -->
	<script type="text/javascript">
		jQuery(function($) {
			$(document.body).on('click', '#consume', function() {
				location.href = root + '/coupon/consume';
			});
			$(document.body).on('click', '#mc_new', function(evt) {
				location.href = root + '/customerCard/searchCustomer';
			});
			$(document.body).on('click', '#entrance', function(evt) {
				location.href = root + '/customerCard/entranceCustomer';
			});
			$(document.body).on('click', '#tuanke', function(evt) {
				location.href = root + '/classSchedule/list';
			});
			$(document.body).on('click', '#yuyue', function(evt) {
				location.href = root + '/classBooking/list';
			});
		});
		$(document.body).on('click', '#mc_goods', function(evt) {
			var modal = superFrameModal({
				'src' : root + '/goods/saleGoods',
				'width' : 900,
				'height' : 550,
				'title' : '商品销售',
				'faClass' : 'fa-picture-o'
			});
			modal.show();
		});
		function settingUserInfo(url, text) {
			var modal = superFrameModal({
				'src' : root + url,
				'width' : 900,
				'height' : 350,
				'title' : text,
				'faClass' : 'fa-picture-o'
			});
			modal.show();
		}
	</script>

	<!-- the following scripts are used in demo only for onpage help and you don't need them -->
	<link rel="stylesheet"
		href="${ctx}/resources/assets/css/ace.onpage-help.css" />
	<link rel="stylesheet"
		href="${ctx}/resources/docs/assets/js/themes/sunburst.css" />

	<script type="text/javascript">
		ace.vars['base'] = '..';
	</script>
	<script src="${ctx}/resources/assets/js/ace/elements.onpage-help.js"></script>
	<script src="${ctx}/resources/assets/js/ace/ace.onpage-help.js"></script>
	<script src="${ctx}/resources/docs/assets/js/rainbow.js"></script>
	<script src="${ctx}/resources/docs/assets/js/language/generic.js"></script>
	<script src="${ctx}/resources/docs/assets/js/language/html.js"></script>
	<script src="${ctx}/resources/docs/assets/js/language/css.js"></script>
	<script src="${ctx}/resources/docs/assets/js/language/javascript.js"></script>
</body>
</html>
